const path = require('path')

const {
    override,
    addDecoratorsLegacy,
    disableEsLint,
    addBundleVisualizer,
    addWebpackAlias,
    adjustWorkbox
} = require("customize-cra");

module.exports = override(
    // 添加路径别名
    addWebpackAlias({
        '@': path.join(__dirname, './src/')
    }),
    // // 支持装饰器
    // addDecoratorsLegacy(),
    // 禁用esLint检查
    disableEsLint(),
)